<div style="cursor: pointer;padding-bottom:20px;text-align: left;padding-left: 20px;">
    <img onclick="jQuery.unblockUI();" src="<?php echo $view->layoutUrl; ?>img/icon_close.png" style="width: 35px; float: right;" />

<br style="clear:both;" />
<?php if($view->winner){ ?>
    <div class="winnerele1"><strong>Name</strong>: <?php echo @$view->winner['name'];?></div>
    <div class="winnerele2"><strong>Email</strong>: <?php echo @$view->winner['email'];?></div>
    <?php $tr = 2;?>
    <?php if($tr == 2){$tr = 1;} else {$tr = 2;};?>
    <div class="winnerele<?php echo $tr;?>"><strong>Date/time</strong>: <?php echo date("d.m.Y H:i",$view->winner['update_time']);?></div>
    <?php if(isset($view->winner['question']['question'])){ ?>
        <?php if($tr == 2){$tr = 1;} else {$tr = 2;};?>
        <div class="winnerele<?php echo $tr;?>"><strong>Question</strong>: <?php echo $view->winner['question']['question'];?></div>
    <?php } ?>
    <div class="winnerele<?php echo $tr;?>"><strong>Answer</strong>: <?php echo $view->winner['question']['answer_' . $view->winner['answer']];?></div>    
<?php } else { ?>
       Can't find winner
<?php } ?>
</div>